//
//  AY_BookSelfModel.h
//  AiYue
//
//  Created by mac on 2023/10/25.
//

#import "AY_BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BookSelfModel : JSONModel
@property (nonatomic,copy) NSString <Optional>* articleId;
@property (nonatomic,copy) NSString <Optional>* articleTitle;
@property (nonatomic,copy) NSString <Optional>* chapterNo;
@property (nonatomic,copy) NSString <Optional>* chapterTitle;
@property (nonatomic,copy) NSString <Optional>* pageNo;
@property (nonatomic,copy) NSString <Optional>* chapterCount;
@property (nonatomic,copy) NSString <Optional>* gmtCreate;
@property (nonatomic,copy) NSString <Optional>* gmtModified;
@property (nonatomic,copy) NSString <Optional>* articleStatus; // 小说状态 1=连载，2=完结，3=停更
@property (nonatomic,copy) NSString <Optional>* articleShelfStatus; // 小说上下架状态 1=上架，2=下架
@property (nonatomic,copy) NSString <Optional>* articleDescription;
@property (nonatomic,copy) NSString <Optional>* articleCoverImg;
@property (nonatomic,copy) NSString <Optional>* hasNewChapter;
@end

@protocol BookSelfModel

@end

@interface AY_BookSelfModel : AY_BaseModel
@property (nonatomic,copy) NSArray <BookSelfModel,Optional> * data;
@end



@interface ReadHistoryListModel : JSONModel
@property (nonatomic,copy) NSString <Optional>* title;
@property (nonatomic,copy) NSString <Optional>* articleId;
@property (nonatomic,copy) NSString <Optional>* totalReadTime;// 总计阅读时长
@property (nonatomic,copy) NSString <Optional>* latestReadTime;//最近阅读时间
@property (nonatomic,copy) NSString <Optional>* info;// 简介
@property (nonatomic,copy) NSString <Optional>* coverImg;//封面图
@property (nonatomic,copy) NSString <Optional>* shelfFlag;//书架标志 1=在，0不在
@property (nonatomic,copy) NSString <Optional>* latestChapterNo;//最近阅读章节
@end


@protocol ReadHistoryListModel

@end

@interface AY_ReadHistoryModel : AY_BaseModel
@property (nonatomic,copy) NSArray <ReadHistoryListModel,Optional> * data;
@end

@interface AY_TodayReadTimeModel : AY_BaseModel
@property (nonatomic,copy) NSString <Optional> * data;
@end


NS_ASSUME_NONNULL_END
